package com.itheima.health.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.health.dao.MobbileDao;
import com.itheima.health.dao.UserDao;
import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.User;
import com.itheima.health.service.MobbileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class MobbileServiceImpl extends ServiceImpl<MobbileDao, Member> implements MobbileService{
    @Autowired
    private MobbileDao mobbileDao;
    @Override
    public Member saveMember(Member dbUser) {
       return mobbileDao.addMember(dbUser);
    }
}







